﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BuyWithoutLoseMoney.Core.Models
{
    public class OrderDetails
    {
        public int Id { get; set; }//编号
        public int OrderId { get; set; }//与订单表建立联系
        public virtual Order Order { get; set; }
        public int ProductId { get; set; }//与产品表建立联系
        public virtual Product Product { get; set; }
        public double UnitPrice { get; set; }//单价
        public int Num { get; set; }//数量
        public string Describe { get; set; }//描述
        public DateTime? BuyTime { get; set; }//购买时间
        public string Ext1 { get; set; }//备用列1
        public string Ext2 { get; set; }//备用列2

    }
}
